Toya Aponesto's Forum Posts

  • Uhh yeah, I forgot to read that part lolz! Thanks anyway.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I tried the first one and I noticed that in the duration that the hour is 12, PM and AM keeps exchanging each other. I think that while the global variable hour is 12, my event with the else condition is looped until hour becomes 1.

    The event is checked every tick right? Then there could be like a number of ticks while hour is equal to 12, therefore they keep exchanging each other.

    EDIT: Ok, I got it working, I just needed to a counter to be added in the "If hour is 12" condition. Basically, I made it like this:

    If Hour = 12 and PMAM = 0 then PMAM =1 and do the exchanging of PM into AM and vice versa.

    Then another event goes like: If Hour = 1 then PMAM = 0.

    Thanks for the Else tip!!

  • I'm making a simple 12 hour clock system where it shows only numbers instead of using an image of a clock. I've set up the minute to be 5000 millisecond per minute so that its faster than the real minute.

    Well basically it works, except for one thing, I can't seem to make the AM-PM textbox change from AM to PM and PM to AM.

    My current code is:

    If global variable "Hour" = 12 and textbox = "AM"

    then textbox = "PM"

    If global variable "Hour" = 12 and textbox = "PM"

    then textbox = "AM"

    Something like that. It works only once, like from AM it goes to PM, but it doesnt work after that. What could be wrong?

  • Well, even if we did steal those graphics, we wont be selling this game at any rate so I think it would be ok. Thanks for the harsh yet good comments and replies guys. I think this could pretty much improve me at some point.

    Another question though, in using textboxes, is it possible to trigger an event with the use of a textbox? I mean a specific word, it doesnt need to be the only word typed in that textbox, as long as that word is found in that textbox.

    Ex. An event needs the word "heart" in textbox A. The player types "asjdjheartjdjd" or "dajglj heart jdkasj" in that textbox and that event will still be triggered.

  • Yeah, I'm pretty familiar with how RMXP works. I should use tilesets, but my team has err chosen to have Breath of Fire 4 as our tilesets, which we only get by print screening game plays . It will be a bother to redo everything in that map though, So i guess I'll just remove the large objects of the towns and replace it with a new one which will be smaller objects.

    About the travelling thing, my rpg will most likely be like Harvest Moon where the whole game only focuses on 1 town. So probably 3 to 4 maps in 1 layout shouldnt be bad, but if it would, then we'll do what you said.

    BTW, how do I do the shading part in our map? The one at every side, where it would fade to black. Can construct do that?

  • Hmm I guess that could work now. I'll just use 1 npc for now. Anyway, how do I set the value of a textbox equal to a global variable?

    Is the mibbit chat thing broken? I cant seem to connect right now. Even with the AJAX.

  • Oh I see. Thanks I'll try it and see how it goes. BTW, how would I make an NPC randomly circle around a layout? I mean.... simply randomly go around it.... like a zombie

  • I'm trying to make a recursive way to monitor an object's position and constantly save in in an INI. But I don't want to do every code for every object. I can't seem to explain it well, so I'll post a psuedo code:

    Normal Code for Construct:

    -[Object Name].x

    -[Object Name].y

    My Code:

    -[Family Name].x

    -[Family Name].y

    Will that work? I placed objects who's position needed to be recorded in a family. SO I'm thinking that if I just use a family, they would be all be applied to it.

    Some questions on INI:

    1. How do I get values from INI into an object's private variables which will then be used to place that object and vice versa.

  • Yeah probably, but I need the layout to be big since I need NPCs to travel between maps. Anyway, is there a way for it to lag less?

  • Not really, the map is made up of small objects, well the "ground" part of the map was once actually one big image, but i split it into 29 small parts and just sticked them together in Construct.

    Well heres my cap: http://www.mediafire.com/?hywqnuy2dli

  • Its big because of........the images(map objects). This RPG will most likely be big because of images.

  • So I've made the first map of my RPG made in construct. Its already in .EXE by the way.

    Link: http://www.mediafire.com/?ilcwihnmmze

    I kinda lags in my PC, kindly comment on it. If you encounter any probs, pls uhh help me improve it.

    Anyway, all you can do in that game is simply walk around like a zombie in that ghost town.

  • I see. Well, I have not mingled with waypoints before. Guess this is a start. Anyway, what values are placed in waypoints? X and Y? I'm not in my PC right now so I can't check it out for myself. And can waypoint be included in a hash table?

    I mean what if an NPC goes to remember a waypoint, and the player saves the game and quits. Will the waypoint still be there when the player plays again?

    Oh wait, I have a follow up question. What will be better?

    1. Make a huge map(4000x2000?) in errr mspaint and import it in Construct and just put colission boxes in places where its suppose to be solid.

    2. Make the same map in mspaint but break it down into small objects and import it one by one in Construct and then rebuild the map there.

    So which one? I have been doing number 1 by the way.

  • How would an object with custom movement as its behavior be able to auto search an object that is found in the same layout? Like if an NPC would automatically know where the bathroom is if it needed to have its poo poo time. Or maybe it will randomly circle the layout until it finds the object its looking for.

    I'm guessing Line of Sight might help with this....

  • Hmmm... But I will be having like around 50 or so NPCs in one layout since that layout will more likely be a town or city map. Would that mean 50+ global variables?