22 June 2021, 06:19 | #941 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,543
|
Yes. There's not a specific "powerup" feature in Scorpion but the engine is generic enough to support progressive powerups (eg, with Amigo the Fox, the character starts small, gets a big powerup, and then gets a shoot powerup, and all three of those levels can be used simultaneously with the invincible powerup) via the codeblocks visual scripting system.
|
22 June 2021, 06:37 | #942 |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Thank you all for your welcome messages
A question concerns the projectile: When I shoot my character (based on the Amigo game) is paralyzed a few seconds in the frame (but the direction arrows can always move him, it feels a little weird ) while the monkey in BadApple seems not. I did not find where to reduce this delay? so that after each shoot, my character lowers his arm by finding the idle position for example. Last edited by Kaizen35; 22 June 2021 at 06:43. |
22 June 2021, 07:01 | #943 | |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,543
|
Quote:
If you wanted to have the actual shot on a specific frame rather than at the start of the attack animation, you can attach a codeblock event to the frame start. |
|
22 June 2021, 09:06 | #944 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
@earok - that seems to have fixed everything and it looks like the flashing portrait between lines of dialogue thing I mentioned is fixed too! ty!
I might not understand if you explained anyway, but those all seemed like completely unrelated bugs from an end user perspective. |
22 June 2021, 09:59 | #945 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,543
|
It all was the same bug (except the portrait flashing).
The bug was to do with reading player/actor/projectile variables, so if you did something like "type = actor_type", it'd return (for example) something like the "actor_x" value instead. How it managed to mess up the screen so badly, well that's a total mystery to me! |
22 June 2021, 10:16 | #946 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Aha that makes a bit of sense. I'll keep an eye out for further graphical glitches.
Did you change how ZOrder works? Some of my high Z-order stuff is appearing underneath my low Z-Order stuff now. eg on the map, the blinky circles have ZOrder 0, the player and the yes/no popup have 600ish Zorder but appear under them. - (this doesn't seem to happen anywhere else I've noticed in game.. Could it be because I spawn them with codeblocks instead of placing them on the map?) Last edited by Mixel; 22 June 2021 at 11:05. |
22 June 2021, 10:49 | #947 | |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Quote:
other questions : - What is the difference between "actor" and "player" in Scorpion Engine ? - and I didn't understand what "Recycle" is for in the Actor section because it doesn't seem to change anything |
|
22 June 2021, 12:55 | #948 | |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 300
|
Quote:
Actor and Player seem same but using player makes sure events only affect the player (eg. level obstacles, items,etc). Recycle changes how the actor behaves after going off screen. In my game enemies are projectiles, so I use recycle always, otherwise they'd never respawn after leaving screen. Recycle Respawn places actor back where it started level when off screen, handy for keeping sine wave actors in the correct place. |
|
22 June 2021, 13:31 | #949 |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Thank a lot UltraNarwhal !
|
22 June 2021, 16:09 | #950 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Narwhal covered everything perfectly.. (I’m still a bit fuzzy on some of the recycle rules!)
Another thing I think is worth mentioning about the relationship between player and actor - if your game codeblocks end up anything like mine you’re going to be frequently comparing actor_x and actor_y with player_x and player_y to get things to behave at certain times based on the player’s relative position to the actor. Like, if the player is within a certain distance, do a certain animation or attack. |
22 June 2021, 17:41 | #951 |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
thank you Mixel, for this additional information
|
22 June 2021, 19:20 | #952 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,543
|
@mixel Are the blinky circles sprites by chance..? I haven't touched the z-order logic in a long time, but sprites are always going to be on top of non-sprites regardless of z-order.
@Kaizen Yes, UltraNarwall and Mixel are absolutely correct. Some additional points: - "Trash" recycle mode means delete when offscreen (mostly handy for things like projectiles where you never want to see it again) - "Never" recycle mode means that the actor will never be deactivated, this is only really handy for things that you want to keep moving even when they're off screen (though too many of these actors will slow things down a lot of course) - "Actor", "Player" and "Projectile" are context sensitive (eg, in an event with a collision between an Actor and a Projectile, they refer to that specific actor and that specific projectile) --- Experimental check in for today, new "print" option in the dialogue menu. It's similar to "say", except: - You can print to the top, bottom or fullscreen panel (Need to have a talkpad area configured) - It doesn't interrupt the flow of the game (it's also an instant print rather than showing character by character like talkpad does). So you can print while the game is in motion, though there may be a frame skip depending on how many characters you're printing. This might be handy for things like printing the name of the current room. Probably a whole lot of other things it'll be useful for too. |
22 June 2021, 20:48 | #953 |
Registered User
Join Date: Jun 2021
Location: France
Posts: 28
|
Thanks Earok, I need to practice all of this now
|
22 June 2021, 20:58 | #954 | ||
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Quote:
I just upped it to the Git in case it's a problem you want/need to look at.. Iconafran Anim / Iconfran Actor redping anim / Mapredping Actor greenping anim / Mapgreenping Actor YesNoBox anim / YesNoSelector Actor Its seemingly impossible to get the "pings" to appear below the other things with Z-Order now. I haven't noticed any issues anywhere else though outside of the map. (need to do some playthroughs though) Quote:
Last edited by Mixel; 22 June 2021 at 21:50. |
||
22 June 2021, 21:19 | #955 |
Registered User
Join Date: Apr 2019
Location: UK
Posts: 300
|
I checked the latest experimental build and Z order does look to be broken (weird), I spawned the same egg and sometimes I go behind others I go in front.
Experimental build from 17 June works fine, spawning egg puts it behind player. |
22 June 2021, 23:16 | #956 |
Registered User
Join Date: Jul 2018
Location: Scotland
Posts: 837
|
I'm still on a build from 26 May, Z order not working at all for me. My player disappears under all other actors. Thought it was something I had missed so dismissed the problem, but the above confirms it is a possible issue.
Well just to elaborate, all my sprites are in fact bobs, none have been set to sprite or auto sprite. I read above earok saying sprites appear above all bobs, which I didn't know, so changed player 1 to sprite, the colours are messed up but it is indeed above my bobs now! I believe sprites use colours from the the last 16 (or first i forgot!) of the palette. Last edited by acidbottle; 22 June 2021 at 23:25. |
22 June 2021, 23:36 | #957 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,543
|
Eeep.
I think I've found the issue, checked in a new experimental but *not* tested yet (another flow on effect from adding the new tag and isonplatform variables) |
22 June 2021, 23:44 | #958 |
Registered User
Join Date: Jul 2018
Location: Scotland
Posts: 837
|
That was a damn fast fix earok, cheers for that! Just tested and z order appears to be back in the groove
|
23 June 2021, 04:20 | #959 |
Registered User
Join Date: Jun 2020
Location: Leeds, UK
Posts: 770
|
Everything seems fixed here too.. TY for the speed again!
The only bugs I now know about are me bugs. |
23 June 2021, 23:35 | #960 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,543
|
No worries!
Today's experimental update is a relatively minor editor tweak - just like in the animation and actor tabs, the X/Y positions of talkpad, elements and options is displayed on screen in order to help with alignment. |
Currently Active Users Viewing This Thread: 2 (0 members and 2 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2D Platformer Engine | carrion | Coders. Blitz Basic | 27 | 06 June 2019 14:35 |
New Chaos Engine!! | arpz | Retrogaming General Discussion | 75 | 31 August 2013 22:20 |
F/S Warp engine 32 mb | tabuhuso | MarketPlace | 0 | 24 February 2012 15:13 |
PC Engine CD | TodaysForgotten | Retrogaming General Discussion | 47 | 13 May 2009 23:57 |
Scorpion (100% working) | andreas | request.Old Rare Games | 13 | 01 August 2003 08:48 |
|
|