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 - corbanwolf

Pages: 1 2 3 4 5 ... 15
31
Attributes are simply variables, they can be different types. Creating a game is like writing code in any programming language. Most things are the same, just different names. Game attributes are global variables. Finish crash course and read all this http://www.stencyl.com/blocks/ and maybe it will help. Programming is not for everyone.

32
Ask a Question / Re: why does this simplistic blockset Not work?
« on: May 12, 2020, 05:13:55 pm »
Because it works only on Actors groups. I said it in the previous topic.
http://community.stencyl.com/index.php/topic,60459.0.html

The first code create joints only if the actor in a region is an Actor group, not blob. Simply change first code and choose Blob instead of Actor

33
Ask a Question / Re: why does this simplistic blockset Not work?
« on: May 12, 2020, 04:44:57 pm »
What?

34
Ask a Question / Re: why does this simplistic blockset Not work?
« on: May 12, 2020, 03:41:31 pm »
Can you check if the collision is detected? They may be set as simple physics or wrong collision groups. Put print block in the second code and check log viewer

35
Ask a Question / Re: On Mouse Release weld help PleasE
« on: May 11, 2020, 03:58:22 pm »
Yes, but it works only on Actors groups and is not optimised. But if it works and you're happy that's good  :)

36
Ask a Question / Re: On Mouse Release weld help PleasE
« on: May 11, 2020, 12:51:25 pm »
You're almost there. For each block is a loop that is executed as many times as the condition is met. If there are 2 actors in a region, this loop will be executed 2 times, and for each instance actor inside a region will be different. That's why you need to create an actor attribute. Then actor attribute = actor inside a region. You can also make a number attribute and increase each time a loop is executed and then make a condition if counter = 2 then you can make a joint between previously stored actor attribute to second actor in a region.

37
Ask a Question / Re: On Mouse Release weld help PleasE
« on: May 11, 2020, 12:00:10 pm »
This is wrong on so many levels.
Last created actor is unknown and will cause problems. In this instance actor inside a region is actor X. You can make joints only between two different actors. Create attribute actor and then then asign actor inside region that attribute and then make a joint between that attribute and actor inside a region in another instance.
Also, not sure, but I'd swap for each <> if mouse. Seems more logical to be executed when mouse released

38
Ask a Question / Re: Jump sound not working in reverse gravity
« on: May 11, 2020, 04:09:58 am »
Hey. Are you using a kit or your own code? It's probably because the code detects whether bottom of character collides which is different in opposite gravity. Please post your code, and did you try to look into the code yourself first?

39
Ask a Question / Best way to detect if player is being squeezed?
« on: May 10, 2020, 12:48:41 pm »
I was thinking about detecting whether both top and bottom or left and right sides of an actor are being collided with tile or actor. Do you have better ideas how to achieve that?

And one problem. When the player got squeezed very much that it goes out of bounds it ends up inside a tile before his lives runs out. How to prevent actor from going out of bounds?

40
Ask a Question / Re: Creating a Death Counter
« on: May 10, 2020, 01:05:46 am »
Draw blocks must be placed in drawing block. Create new event which will be displaying text all the time.

41
Ask a Question / Re: Creating a Death Counter
« on: May 09, 2020, 10:54:57 pm »
Yea, it's the same, sorry.

Change value of this attribute every time a player dies. Use SET value or sth in game attributes bookmark in code editor and use KILL [ACTOR] and of course use IF block.

http://www.stencyl.com/blocks/
And finish crash course tutorial

42
Ask a Question / Re: Creating a Death Counter
« on: May 09, 2020, 10:10:42 pm »
In settings you got global attributes. Create number attribute which will store number of deaths of player (death of player = [kill self] block in player actor). And you can increase the number every time the player dies.

Then you need to draw font on screen whenever you need it.

Post your code you got so far

43
Ask a Question / Re: Health Bug
« on: May 08, 2020, 10:10:12 pm »
[do after] cannot be put inside [when updating]

44
Game Art / Re: How do you display text in your games?
« on: May 08, 2020, 03:09:25 pm »
Thanks, god bless Stencyl for having easy font editor

45
Ask a Question / What needs to be included in app credits?
« on: May 07, 2020, 12:16:31 pm »
In all apps there is a "help" or "about" button which displays some info like: author, publisher, designer, graphics, music, licenses, copyright, year, email, app version, maybe some terms and conditions etc. etc.

What info do I must/can/should include in credits? Do I have to include software I used for making music/graphics?
Sometimes there is (C) copyright 2020 [author] blah blah. How to put credits properly and legally correct?

Pages: 1 2 3 4 5 ... 15