C-7's Recent Forum Activity

  • Courier is up on the Chrome Store so you can install it straight to your browser! Be sure to tweet your high scores or post screenshots to facebook or twitter!

  • Thanks very much C-7, it's great that you've shared your code! Your solution is sound, but have a niggling worry about the amount of duplication you've got if you have similar code for each NPC. Although it's not much of a problem as long as you don't need to change it.

    theubie I'm glad you've told me about this solution, it's what I've had in my head actually. I'm very familiar with mySQL, so this wouldn't be a problem. It essentially makes C2 the frontend and store the logic elsewhere. A bit like a webpage actually.

    As a webdeveloper, this makes sense to me!

    It's a trade-off. I could do it as a function and save on the duplication, but it would make special circumstances more difficult. I like being able to list the conditions right there because there are plenty of instances where you would want things different. As far as where you store the actual text, it makes no real difference whether it's in a database on your server or in your C2 code. I would just as soon make it easier on yourself and include it in your C2 code--I would hate to have to adjust the message length to make it fit correctly each time in your database. I would definitely not worry about file-size if you are. Minified, my game is just over 2MB plus graphics (which brings it to around 30MB). If you're worried about speed, I would spend your time being efficient with your graphics.

  • I got a good amount of plays for day 1 and day 2 is looking even better! Today's average playtime is 16.8 minutes per player, so not bad!

  • Courier is now public! I believe I've reached a point where the game is ready to be played by others. It is by no means a complete product--it will be polished and added onto continuously--but it is far enough along to let others in on the experience. As with any beta, be sure to let me know if you catch something that I missed! Above all else, though, enjoy!

    <font size="5">Play Courier Now!</font>

  • This can be done with a single variable. I have a variable that I call "From" and I set its value during the transfer layout event. I have an invisible object at each exit and when you touch it, it sets the From variable, starts a fade out, then transfers you. On the start of the next layout, I have it set the player's position to different places depending on what the value is for From. I then have the map fade in.

    For instance, when going from layout 3 to layout 1:

    On overlap of transfer, set From to "Layout3" (you can also use the system expression for the current layout name)

    Go to Layout 1.

    On layout 1's start of layout,

    --> (As a subevent) If From = Layout3, set position to 340, 750

    Then just have a sub event for each possible From value on each layout's event sheet. In the case of there being multiple paths between two layouts, I just name From to Layout2a and Layout2b and vice-versa.

  • I also agree about arrays as tables. I also hope there is a way, in the future, to make it not decrease performance so heavily.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • onion

    I apologize in advance if the image is huge. I store the state of someone's data online once you save, but everything else is handled locally. I have a dedicated slot in my array for each quest. I also have a private variable for each npc if I want them to rotate through a few sayings. In this example, I'm showing how the status of the quest that pertains to this NPC changes what they say or what actions happen.

    <img src="http://www.adamprack.com/materials/teachevent.jpg" border="0" />

    My array, called Inv is what we're looking at. At 0,7 is the quest for this person. For all of my regular quests, 0 means it is available, 1 means it is currently in-progress, 2 means it is complete.

    I also have a check if the NPC is within range (it sets them to "Active = 1" if they are). I have an invisible rectangle with an id variable that references each npc, then I set the visuals for them to that position. I also check the "Speech" layer opacity so it won't let you open up another conversation if one is currently open. In the first event, if 0,7 is 2, then it shows a message if you've completed the quest. I have subevents that test if a certain story element is running or not, too. The second event runs if the quest is open and starts the dialogue for if you want to accept the quest.

    Just so you can follow it all, if Speechon = 1, it fades in my speech layer. There is a triangle "Play" button that progresses. There is a variable on there called "more". If it is 0 and you hit the play button is sets Speechon to 0 and fades it back out. If more = 1, it doesn't.

    I know there's a lot there, but you only have to write that once and then copy-paste and switch numbers/text for the rest of the NPCs. I'm sure someone may have some more elegant solution, likely using functions, but I really like being able to follow as much as possible right there.

    But I hope that example helps!

  • I've visited your homepage to play the game, but when I press the play button it just says "checking for updates" endlessly. I've no idea if it is still checking, but it's been going for quite a long time now. If it is loading, it might be worth having a progress bar to show that it's actually doing something.

    It checking for updates has cause a lot of problems, so, for now, I just removed it. Now, it just loads into the game. At some point I'll just add an in-game notification that an update is ready so the user knows their next play session will be updated.

  • Thanks theubie, and sorry for the late reply but I'm going to take you up on your offer of advice! You say you're working on an MMO that uses a C2 frontend, and php/mySQL backedn, well that's what I'm working towards too. But right now I'm trying to figure out how to create RPG quests.

    Like a typical sort of RPG my game allows a player to talk to NPCs and get quests, some of which have sub-tasks. How do you keep track of which quests you have, and which NPCs you've already talked to?

    I use an array and then I have a google docs spreadsheet for my own reference. Everything in the 0 column pertains to the status of a certain quest. Everything in the 1 column pertains to each NPC, for instance, and whether you have talked to them or not. For my quests I set at 0,2 to 0 if the quest is open, 1 if you are currently in it, and 2 if it is completed (and so on for all of them). You can do something similar for NPCs. I also use different array cells for inventory management, though my inventory is simpler than in many RPGs. You can then output the whole array AsJSON and upload it wherever or however you want (I store it on clay.io and then retrieve it for loading).

  • I pledged. I enjoy the quality of your assets and work thus far and your reasoning/inspiration behind it has to hit home for some people. Keep it up and I hope you exceed your goals!

  • I'm looking for most testers if anyone wants to give the game a go! It's very near ready to go live, but I want to make sure it works well for others and there isn't anything glaringly wrong that I've missed. Reply or PM me and I'll give you the password. The game can be found at:

    http://www.couriergame.com

    And here's a little bit of artwork to keep things lively:

    <img src="http://www.couriergame.com/forestmed.jpg" border="0">

  • I stayed quiet and kept my head down for a little while during bug-squashing and content-producing fests, but the game is back live again for people in the Closed Beta, and much larger than it was previously.

    couriergame.com

    Here's the list of changes for anyone curious:

    -New dungeon

    -New story segments

    -New deliveries

    -Tooltips in the menu

    -Tons more menu options including the ability to take a screenshot and share it via Twitter or Facebook

    -Share the game on Twitter or Facebook, receive in-game money (you may wish to wait until it's public)

    -Status messages in-game that let you know more information on what is going on.

    -Adaptive music throughout (going inside/outside/out of town in the forest)

    -More sound effects, though more are needed still

    -Improved saving system

    -In-App purchases work

    -Added support options beside the game on the web page for things such as NPCs made in-game to resemble you.

    As soon as this round of testing goes through and I'm able to correct enough of the problems presented, the game will go live for all to enjoy! At launch, I'll have a twitter contest where I'll be giving away $25 to two people. I'll fill you in on more when it goes public!

C-7's avatar

C-7

Member since 9 Oct, 2010

None one is following C-7 yet!

Connect with C-7

Trophy Case

  • 14-Year Club
  • Popular Game One of your games has over 1,000 players

Progress

15/44
How to earn trophies