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

Pages: 1 2 3 4 5 6 ... 28
46
Ask a Question / Re: A Game Without Music?
« on: October 17, 2015, 04:25:34 pm »
I needed a moment to translate:
How do you see a game without music?  => What's your opinion on games without music?

For iOS I t's ok but it's unforgivable for a flash game.


47
Ask a Question / Re: How to make a "remember the sequence" game
« on: October 17, 2015, 04:18:53 pm »
Ps. What university is it? what is your major?

48
Ask a Question / Re: How to make a "remember the sequence" game
« on: October 17, 2015, 04:14:21 pm »
1.
When created:
list_1= create new list // list_1 stores the sequence that player must reat
add random number (0,5) to list_1 //I assume you have 6 buttons
create 6 button actors, set for them actor attribute color to 0..5, store buttons in list actor_list
do after (some time)
    trigger beep // event is responsible for beeping buttons to player then gives player time to repeat

2.
Event beep
a=0
while a< number of items in list_1  // for each element in sequence
    find button actor that color = list_1(a) in actor_list
    change animation of that button + sound proper sound
    wait(some time)  // we want to give some time between beeps
    a++
//beeping over, player turn starts
input_list=new_list // this list stores sequence of buttons pressed by player

button actor behavior:
when mouse pressed on self
    add color to input_list
    if  not(input_list(number of items in input_list -1) == list_1(number of items in input_list -1))
// player messed up sequence
       play (you messed up) sound
       wait (some time) // give player time to accept this harsh truth
       trigger beep
   else
          if number of items in list_1 == number of items in input_list
// player pressed successfully last button in sequence
          add random number (0,5) to list_1 // increase sequence
          trigger beep


----------------------------------
More or less; may contain upgrade so as make it impossible to press button while beep is triggering;

49
Ask a Question / Re: Lists Hard Hard
« on: October 14, 2015, 03:14:08 pm »
add (anything as text) to list. I think you may be missing the conversion part

50
Ask a Question / Re: Please help me wrap my brain around something.
« on: October 14, 2015, 12:51:35 pm »
As far I understand you want to place traps or cast spells while on map scene.

Traps:
Setting traps - create trap actor
Enemy moves into trap: - in enemy behavior when collision with actor type: trap  => set health = health - trap_damage.

Spells pretty much the same.

Where is the problem?


51
Ask a Question / Re: Looking for "older brother".
« on: October 14, 2015, 12:41:57 pm »
All this forum is your big brother.

Liberado is your big bro.

52
Resolved Questions / Re: How do I center an actor on another actor?
« on: October 12, 2015, 12:34:24 pm »
set x of actor_1 to (x of actor_2 + width of acvtor_2 / 2 - width of actor_1 / 2 )

53
Ask a Question / Re: Therapeutic game / interactive learning activity
« on: October 10, 2015, 05:53:25 pm »
Project like this is doable in Stencyl.

Start with crash course (psainful but advisable) or tutorials/examples provided by some of forum users.

54
Ask a Question / Re: Persistent Countdown Timer when changing Scenes?
« on: October 09, 2015, 07:05:31 am »
Add game attribute <Time>. <Local_time> attribute that ocunts time in scene.

Upon leaving the scene:
<Time> = <Local_time>

Upon entering scene:
<Local_time> = <Time>

Do every 1 second
<Local_time>=<Local_time>-1

Solution may be not accurate.

55
Ask a Question / Re: How can I make a infinite platformer
« on: October 08, 2015, 05:30:04 pm »
...

-__- '

56
Ask a Question / Re: Collectables and Saving those numbers.
« on: October 07, 2015, 05:33:21 pm »
/\
 |

Terrible way to do it(waste of resources). Idea is good but you should check number of donuts as you collect them not in always.

57
Ask a Question / Re: Best way to switch between a player and enemy turn?
« on: October 07, 2015, 05:29:19 pm »
First:
Go to my blog. I just finished writting post about my experience with turn based battle. Maybe it will get you inspired.

Second:
I hate idea of switching the scenes. You start with your player and enemy. You go to the minigame. As you do it: Hide all elements with fight (player, enemy) and show elements that are assosciate with mini game. End of mini game? ---> Hide all elements form minigame and show player and enemy. 

Switch your created to custom event  You will be triggering it when scene is created and whenever minigame ends.
(Warning! you can't trigger cutom events in when create so you need to put it in do after<small time> clause)

58
Ask a Question / Re: Megaman
« on: September 30, 2015, 08:22:52 am »
GO TO THE CRASH COURSE AND DON'T SHOW YOURSELF UNTIL YOU FINISH IT! (screaming fully intended)

59
Ask a Question / Re: [How to do] Unpause after 3 seconds
« on: September 28, 2015, 05:11:58 pm »
Let's say your enemies are moving

Pause happens:
for each enemy set <helper> to x-speed //<helper> is actor atrribute and is saved in actor not in scene
set x-speed to 0
do after 3 seconds
  //End of pause, restoring before pause status
  for each enemy
       set x-speed to <helper> for enemy

60
Ask a Question / Re: Target "Actor Type"
« on: September 28, 2015, 05:08:44 pm »
I assume you create player in scene behavior. Create attrbiute player.

As you create player:
Set player to Last <created actor>

In your  "enemy follow behavior" actor behavior
Follow <get <player> from scene behavior>

Pages: 1 2 3 4 5 6 ... 28