smoke84's Recent Forum Activity

  • It this the most helpful community in world? I think yes.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I made a simple array containing a list of names and levels exp, etc.. I want to be able to cycle through each entry in my array using left and right arrow buttons.

    For example clicking on the right button would populate some fields with the data stored in the array.

    NAME: JOE

    Level: 1

    Current XP: 0

    Clicking the right again goes to the next entry...

    NAME: BOB

    Level: 3

    Current XP: 10

    If I click the left button I can go back an entry:

    NAME: JOE

    Level: 1

    Current XP: 0

    I was displaying this data in a text file using myarray.(at) but im not clear on how to bring up the next entry in the array or the previous entry. Trying to avoid using global variables and im new to the array game. The idea is to flick through a roster like a deck of cards and display all the stats in a text.

    Any thoughts?

  • thank you for the advice guys. i tested using a text object and got 60fps so it must have just been the debug screen slowing me down, phew!

  • Does anyone know why I am getting very poor frame rates when I preview on mobile. I created a blank new project and hit preview and when I look at the debug on my galaxy note 3 I am only getting 15-17 frames per second. How accurate is this? am I doomed to have a laggy game if i port to android? Again I tested this with a blank project

  • Which sample is this referenced in?

  • I basically want a npc to move to a nearby town and capture it using the pathfinding behavior. The issue I am having is how can I tell this npc where the nearest is town is that is eligible for capture. When I use the find path command I can only input x and y coordinates for a single town but I would like to have a map where there is multiple towns. Any suggestions on how I can make this happen?

  • I tried saving to a slot at the end of level 1 but when I start level 2 all values are blank (name level hp etc)

    How can I save at end of level 1 and load values from that save in level 2?

  • How can I load specific values using web storage? Like my hero array has hero name level and hp values. How would I set and load this array on a new layout?

  • I am having an issue with keeping my information when loading a new layout. If I have my character reach level 6 and kill 3 monsters they display in a bestiary in layer 1, everything works. But Once I switch layouts everything has a value of 0. Im trying to make a RPG with different zones the player can visit

    Is there a simple way to keep all my information consistent between layouts without spamming global variables?

  • I put a create object line in the function and it fixed my issue! Thank you very much

  • I was working on this function for creating a object called beast box which is a 40x40 square image that gets repeated 40 times. I'm using a loop and a array with a width of 10 and a height of 4 to achieve this.

    When I call the function the first time I get the results I want. As seen in image 2.png

    I want to destroy the boxes and recreate them each time the menu is opened. So I had the menu destroy the beast_box object when closed.

    The problem is when I open the menu a second time the boxes are created and stacked on top of each other 40 times. (see 3.png All in the top left corner instead of being spaced out in neat rows. What am I doing wrong here?

  • I was considering that but was wondering how I would keep the stats organized like mob1 hp = 10, mob 2hp = 30, etc

smoke84's avatar

smoke84

Member since 20 Jan, 2012

None one is following smoke84 yet!

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies