FlippyDolphin's Forum Posts

  • I am using a text input box and I want it to detect when a certain key is pressed. Any idea how to do this?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Doesn't matter I realize what you mean now. Thank you for your help.

  • On function level up

    Set creature size

    width to creature.width*100

    height to creature.height*100

    I am assuming you want the camera to grow with the creature? If so

    Set canvas size to canvas size*100

    The enemy thing is a bit more complicated however you might want to include a instance variable for your level. On enemy spawn function if the spawn is at least 2 off your level (so if you are level 5 it would be 3, 4, 5, 6 and 7 enemies that could spawn)

  • Looks like animation to me. Just copy your sprite and move it 10 pixels right and up and then 20 down and left and then back to center although that looks like they use a little bit of squish and squash too

  • I'm trying to set my array to a file under the files category in the project bar. Specifically a JSON.

  • Any animations?

  • What do i use for the spreadsheet though? Excel?

  • Multiplayer is rather complicated especially for someone rather new to construct.

    I recommend taking a look at the 2 following things

    Multiplayer Manual:

    https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/multiplayer

    Multiplayer Tutorial Series:

    https://www.construct.net/en/courses/online-multiplayer-construct-12

    Keep in mind the Tutorials all have their own example in the editor (just type in multiplayer in the editor and it should come up) also the multiplayer tutorials are for ONLINE multiplayer.

    In all seriousness though I don't recommend trying out multiplayer as one of your first things in construct. Maybe try cloning a few of those fan games to learn how to use construct a bit better.

  • How would I go about doing that?

    On start of layout >

    set value at 0, 0 to Liam

    set value at 0, 1 to Noah

    set value...

    set value at 0, 999 to Stone

    set value at 0, 1000 to Rome

    set value at 1, 0 to Olivia

    set value at 1, 1 to Emma

    set value...

    set value at 1, 999 to Ariadne

    set value at 1, 1000 to Dixie

  • For bullets perhaps move in steps?

    Just to confirm they look fine while not moving?

  • I want to give random names to people in my virtual villagers clone. I was going to use random ("Name1","Name2", ect ect

    However I figured that wouldn't work for my game with 1000 names for each gender.

    What would be the best way to do this? I have no idea how dictionaries work so I was unsure about them.

    I was thinking maybe arrays with 2 width (Male, female) and 1000 depth (the names). Still unsure though. Any ideas?

  • I took a look at your code and noticed you are using functions and for each statements. I couldn't help but think this could be easier with a state machine.

    For a state machine, you need to give your objects a state and update the state according to their needs. For example, a bug would start at an idle state. Then, when they need to eat, they enter a searching for food state. When they find food, they enter an eating state, etc...

    I threw together a quick example that shows the principle in action. Hopefully it gets you closer to completing your project.

    https://drive.google.com/file/d/1vObtjdJppTivblySf-rn0Vx4bUH2fYTn/view?usp=sharing

    OMG Thank you that code is so useful!

  • I have a wondering, eating and drinking state no? Maybe I accidentally shared an older file.

  • Undertale fan game I suspect?

    Anyway. When arrow is pressed I would set every animation to 0 except the one it is moved to.

  • I'm trying to set up a game a bit like the old virtual villagers games for my nan before she passes as she always complains about how the new ones suck.

    Although this is my first day working on the game I already feel like I've reached a barrier in my messy code...

    I was wondering if someone would be able to help me fix it and tidy my code a bit. I basically want the bugs which will eventually become villagers go to the food source and water source when they are hungry or thirsty, however I don't want them to bounce between them. (They go to the water to get 5 water, then they go to the food to get 5 food then the water ect)

    Basically I want them to be able to survive efficiantly without just sitting on the water and food. Here is what I've got so far but it just isnt working.

    I was wondering if anyone could tidy the code up for me or maybe tell me how to fix the issue I'm having with the water and food.

    dropbox.com/s/unos84rdck9uv56/Movement.c3p