Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Adder

Pages: 1 2 3
Ask a Question / Re: [HELP PLEASE] Spawning an Actor
« on: October 23, 2018, 12:00:59 am »
I don't get switch scene problem from your code.
Actor 'enemy' appears in layer name object
but not layer name Layer 0 though.
I see that you're not using a random spawn location and yours is working, so maybe it's the random spawning that causes my problem. Thanks for your help.

Journals / Deep Space
« on: October 22, 2018, 08:42:57 pm »
v.001 (23/10/2018)
- Main Menu scene fully functional. Credits scene fully functional.
- Player ship movement, health, and weapons all fully functional.
- Starting scene dialogue mostly functional; can't figure out how to set up random typing sounds for Passive Ship dialogue.
- Issues with spawning player's ship in top-down space environment when starting new game; scene won't change.
- Player Character sprite created for sidescrolling environments (planet surfaces, on-board the ship)

Ask a Question / [HELP PLEASE] Spawning an Actor
« on: October 22, 2018, 07:52:45 pm »
I'm trying to spawn a player actor at a random location in the next scene. However, the next scene refuses to load due to this.
The code I'm using to load the next scene is attached. Please inform me as to what I am doing wrong.

Ask a Question / Recommended Character Size?
« on: October 21, 2018, 07:53:40 pm »
I'm using 32x32 tiles. 1 doorway is 2 tiles in both width and height. The character is a humanoid.

Game Art / Re: Building a Library of Images for Everyone
« on: October 21, 2018, 07:48:29 pm »
Seamless space backgrounds would be v useful

What size would they need to be?

640x480, preferably.

Dialog Extension / Error?
« on: October 18, 2018, 07:45:24 pm »
I got these logs whilst trying to compile the game and I think it may have something to do with the dialog system. Can anyone help?

Dialog Extension / How to use random type noises?
« on: October 18, 2018, 07:00:28 pm »

Ask a Question / Isometric tiles
« on: October 17, 2018, 10:21:26 pm »
Is it possible to use Isometric tiles in Stencyl?

Ask a Question / Re: Mouse Rotation?
« on: October 17, 2018, 09:28:47 pm »
I believe it is -

set (x) to (X of mouse) - (X-center of self)
set (y) to (Y of mouse) - (Y-center of self)
set (direction) to atan2 y: (y) x: (x) as degrees
point self towards (direction) degrees

x, y, and direction all being number attributes

Ask a Question / Mouse Movement?
« on: October 17, 2018, 08:55:15 pm »
I need help. I'm trying to create a code that moves the player actor toward the mouse whenever [mouse is down]. However, all the movement does is move it to the right of the screen.
Attached are screenshots of the code and an mp4 of what is happening.

Chit-Chat / Re: Top-Down Open-World Space Game?!?!?!?!??!
« on: October 17, 2018, 05:32:52 pm »
There's been a lot written about procedural generation on the forums. Search for that and there should be something to get you started.
Thanks again.

Chit-Chat / Re: Top-Down Open-World Space Game?!?!?!?!??!
« on: October 17, 2018, 05:26:11 pm »
Set the player to 'always active'. By default, actors don't receive any updates if they're off screen. So if your camera behavior is attached to your actor, its 'on update' events will not execute. By setting the player to 'always active', it'll receive updates and the camera behavior will work.

Yes, infinitely generated scenes are possible. Exactly how you go about this depends on what you want.
Thanks for your help!
As for infinitely generated scenes, I would like the scene to randomly generate a world using some sort of "seed" system. This world can- but might not always- include wormholes, planets, solar systems, nebulae, etc.

Ask a Question / Tiles as a foreground?
« on: October 17, 2018, 05:20:42 pm »
Is there a way to treat a tile layer as a background layer that is always on-camera but can be hidden or shown in-game? Asking so that I can create a GUI.

Dialog Extension / Re: Making actor stop while dialog running
« on: October 17, 2018, 05:16:51 pm »
What I did is created a boolean attribute called "moveable" and set up in the player actor's events so that
[if moveable=true]
[up pressed?]
[set [y] speed to -5]


[if moveable=false]
[up pressed?]
[set [y] speed to 0]

Just set moveable to false before all dialogue blocks and set it back to true when the dialogue is complete.
Hope this helped!

Chit-Chat / Top-Down Open-World Space Game?!?!?!?!??!
« on: October 17, 2018, 05:06:30 pm »
How can I make a scene infinitely generated? Is it even possible?
Another question I have: When starting the game, the player is meant to spawn in a random position in the scene. However whenever the player is out of the camera view, the game freezes. I have tried moving the camera to the player in an updating block but the camera won't move to the random position of the player. Can anyone help with this?

Pages: 1 2 3