frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

New update - Spawn behavior

edited January 13 in Announcements
I originally thought that I could make the Emit behavior flexible enough for all object spawning uses, but I now think that was the wrong approach. The emitter is optimized for short-lived, moving objects, and doesn't work as well for most other uses.

I have added a new "Spawn" behavior that is meant for spawning in objects at a specific spot that should remain until they are explicitly removed. It only has settings for x and y positions, which can be set via the inputs or settings panel.
«1

Comments

  • Woo-hoo, a new update :)
  • edited December 2017
    So does that mean my spawner items are no longer in need?

    @grazer I propose spawning behaviors allow you to spawn a random child of a parent object. That way SB3 will be easier to work with.
  • Okay this is literally one of the best updates ever. I hated it to emit objects and make it go to a position with the once behavior. You are awesome Grazer! :)
  • Well thats really nice. Thank you!
    Now I will update everything I think
  • I'm too lazy to replace all emit behaviors to spawn behaviors. More work for nothing. So I'll use it in my future games.
  • Im working on the claustrophobia mode for Starblast 3.

    The mode will not use the spawner object like the last game. Instead, I am using this new behavior. Especially because of the X/Y thing. There will only be one type of enemy spawned. The atom. The only one that is not in SB3 or in NW(R).

    This however came with a bug @grazer
    When the nucleus is shot down, the electrons are supposed to dissapear. This means that the proximity the electrons have is still detecting the nucleus, even after it is destroyed.
  • Hey @CrimsonBlackGames - I don't see a "Claustrophobia" in SB3. Is that the same as "Constrictor" mode? I Don't see any atoms spawning, and I don't think I fully understand the description. If I can see the behavior I think it will be easier for me to figure out what's going on.
  • Constrictor Mode is also claustrophobia.

    It’s probably set to rockets. I thought I got it done
  • @grazer There are some things you should fix in the behavior editor.

    - When you zoom in/out, the behavior screen scrolls to the middle. So I have to scroll back where I was working. If it's supposed to be like this, for me it's really annoying.
    - This is a very weird bug. To reproduce it, follow these steps:
    1. Zoom out
    2. Click OK
    3. Go back to the behaviors
    Now you can't zoom in anymore, and when you are trying to drag a behavior block in the screen it becomes bigger (normal size).
  • edited December 2017
    So the auto-center behavior is intentional. Not sure if you remember, but people used to constantly get confused and think their behaviors had disappeared because it was easy to drag them outside of the viewable area and "lose" them. The auto alignment behavior prevents this by fitting all behaviors into the window and centering them. Maybe there is a better approach, not sure .

    I'll check out the weird sizing issue though, thanks for reporting it .
  • Why don't you make a seperate button to scroll to the center. I don't know, I don't belong to those people.
  • edited December 2017
    @Latif3 - thanks for reporting that behavior zoom issue, I just deployed a fix for it.
  • @grazer Nice, but what about centering the screen when zooming in/out? Is it going to stay like that?
  • What if we had a zoom behavior, that could go from +50% to -200%

    50 being zoomed into the middle
    And 200, zoomed out.
  • I prefer the middle zoom
  • Scroll wheel or double click zoom to pointed location sounds like what you want Latif
  • @grazer SB3 has a new mode called “Evolved” which uses a different spawning system (using the spawn behavior now that it exists)

    For some odd reason it never spawns the necessary amount of enemies, even though the logic is perfectly fine.
  • @CrimsonBlackGames - that's interesting, can you give me a few more details? I'll check it out.
  • Everything seems to look fine in playback mode, but for some reason I almost never end up with the right amount of enemies.

    It’s usually off by 1-4
  • I mean, tell me which level to look at, and which object behaviors to investigate :)
  • edited December 2017
    Oh... oops...

    Level: Evolved
    Object- Evolved Spawner
  • edited December 2017
    I found a glitch in my game https://flowlab.io/game/view/782193. go under the Inventories's behaviors and look under making items. the 2 wont respond neither will the 1. But the 3 will! Pls help.
  • the spawn behavior have bug he spawn monster on one point and don't care X/Y
  • edited January 2
    Can you make it to where if all 3 slots are imputed at the same time, the engine always spawns it after the position has been changed?
  • Yeah that would be better
  • Yeah I'm getting this feature figured out and i have the extractor tool taking the value for x and y and plugging it into the spawner to spawn it right on top of the object. The problem I'm having is it alwasy spawns it on the original object and not the individual locations of the clones. Bug or something I can do to fix that?
  • Actually I think I found a work around on that, thanks
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch