Sandcrawler's Forum Posts

  • I think I would use a highscore table still using a mysql database.

    Then you can use the SUM function in your mysql query to get the total score.

    To get the total players, or games played you can use mysqli_num_rows. That function will output the total number of rows/entries.

    Another option is to use a flat file system in php to create a file that you add to, only storing the information you want. Starting with fopen Then you would use fwrite and I would probably use an explode so I could store both variables in one file.

  • You could also use Ajax, to credit the achievement to a user account and save online in a permanent way.

  • I think it comes down to personal preference. You could use just the one event sheet for all of the layouts. But the drawback is that you cannot add anything unique to just once of the layouts.

    You will want to have one event sheet that handles the character, movement, abilities and whatnot.

    But I still have one event sheet for each layout, the first thing I do is include the gameplay event sheet (with the character stuff in it) This way if I have an interlude level were the timer should stop, its easy to do. Pretty much anything that only need to happen in one layout I would put on the individual event sheet.

    Edit:

    Doesn't matter either way, you could always add a new event sheet later if you needed to do something different on one layout.

  • I don't know of a way to include another html5 canvas.

    But for what you described why couldn't you use the Ajax object, to tell the game what ad to display, news, and so on.

    For ads (depending on the type) you could load them into a sprite object as animations (for multiple ads) (One frame per animation, unless animated) then you'd have the ajax get an id or name for the ad to display, and what page it would link too. Then you would just need an event to display the information when you wanted it to.

    News would be the same way, just use the Ajax object to get the text from a webpage (php or asp) and set the data to display inside a text area.

  • 1. Not by default, the games are played in the web browser, so your options are a little limited. But I supposed you could save the game to a WebStorage variable or save them on the web using the Ajax object.

    2. It's a good tool for making games. Nothing in Construct is targeted towards a specific game-mode. It would depend on what you do with the RPG, and how big it is.

    3. Dunno, I would say get a credit card, and use PayPal.

    4. I don't know of a way to encrypt the data (that would be easy). It would depend on how you store the information. For the most part the graphical and text resources wouldn't be editable (on a webserver) I suppose a user could edit the cached files, but that would just be until they connected to the website again.

  • To make them both face each other you can just use the Sprite.X compared against Sprite2.X so when Sprite.X is Greater Than Sprite2.X then you mirror the sprites. Then you need an else to disabled the mirror.

    Two player look example

  • I'm not really sure what you are trying to do but.

    To loop an animation, you just set Loop to Yes, inside the animation editor. (select the sprite, then under Properties, click on Animation Edit) Pick the animation and there will be a Loop options with a dropdown box, change it to yes and the animation will loop.

    If you are using the Default animation then it will just play, and loop itself. If you created a new animation, you will have to use an action to start the animation.

    Something like:

    -On State of Layout

    Sprite: Set Animation to "Test" (Play from the beginning)

    Then it should loop.

  • I put together an example using the default behaviors. You can use Simulate control to control multiple character just remember to shut off the Default Controls option.

    2 player example

    WASD moves the first character, and the arrow keys move the second.

  • Sandcrawler

    Thx for info :)

    I suppose I could use a Drupal forum else, phpbb ?

    Anyhow, what I need is more than just simple forum thing hehe ^^ So I certainly hope I can change some stuff within existing user management systems OR add to them..

    As for the Ads.. I need them:) I am volunteer working, and I need a money boost to travel around, funny enough, it is about once a month I travel :p

    Edit:

    I looked up the whole Adblocker thing, thank you ! :) I will definetly put a Disclaimer up and ask people to turn it off for my website :)

    Yea you could use just about any forum or CMS system. SMF has the easiest set up (SSI.php) this lets you use a number of build in functions, but you can also use other functions built into SMF (like BB tags on your website). In the past I used phpbb, but it was a pain in the ass to use, and at time it wouldn't work, they don't have a built in function for using phpbb on a custom php website. I've never used Drupal, but I would think they would have a way to do it. I wouldn't think of Simple Machine forum as a simple forum, in my opinion it has more and better features than phpbb. Enough so that I converted a three year old phpbb database over to SMF two or so years ago.

    All you can do is try the ads, but I have a feeling that they won't work out very well. I use Ad block plus, and I've never disabled it for a website. You can possible stop people from viewing your website if they have an ad blocker, but the likelihood is that they just won't view it. The website that I had ads on in the past got around 2000 (unique) hits a month, and well lets just say it wasn't going to cover the costs, let alone travel. Even with the ad blockers shut off, most people still don't click them.

  • Learning php, html, and CSS will let you do the most.

    On my website all around games It a php script that includes the needed pages (so its easy to add pages) in Wordpress or another CMS site it would be easy to add a page, but you are limited in what you can do with the page.

    For my user system I use Simple Machine Forum I have found it to be one of the easiest ways to have user management, without reinventing the wheel. Plus using an existing user management hook you get the security that they built into it.

    I Do use Wordpress...for a blog. As it meant to be used. I haven't found anything better than wordpress for running a blog, but it seemed like a pain to bridge wordpress to a php website, or to forums. (Plus I was using SMF first)

    Advertisement are something that I don't use. In the past (on a different website) I had advertisements. But they didn't do very well, and most people complained about them (they were just google ads) so I took them off. Now with Ad-Block plus you can have advertisements but many users will never see them. SO unless you have a ton of traffic, they more than likely won't make you anything. The other thing to keep in mind if you do ads is that most places have a minimum payout, and they only pay out once a month.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Any sort of client/downloaded game is a harder sell than a html5 or web game. I'm not saying that they are bad, I like the features of Construct Classic, and what can be customized by the user with a client. But a web game is easier to run (no download)

    With my game Untitled (A Construct Classic Game) I have an indieDB page for it, that I posted to regularly. Plus I promoted the game some on the Ludum Dare website (it was originally made within 48 hours for LD) The game has only gotten about 14 unique players, counting myself.

    Target Audience is also a big picture, I make weird art games with a low appeal level. If your game can appeals to a more generalized audience (Chic graphics, and whatnot usually does the trick) that you can possible promote the game on one of the many Indie Developer websites. Read up about Presskits and sending press releases, pixel prospector has a great list of articles about them.

    Consider accessibility, I just made a game using Construct 2 for the first time (in 48 hours this last weekend) If you have been using Construct Classic it would be a really easy switch. html5 bumps your accessibility up from windows only (Construct Classic) to almost any modern platform. Also because its html5 you don't have to download and install the files to your computer making it easier for someone to pickup and play the game.

    If you are selling the game (Construct Classic), you can use one of the many publishing websites, but most of the indie ones have a really small audience. Desura is one of the biggest, but they have been known to reject games that they see as casual. (They think they have a hardcore gamer audience) For Construct 2 the article mentioned above covers many of the popular portals.

    My last suggestion would be on the website, spend some time on it and make your website look nice. Try to sell (get them to download it) your product with screenshots and videos. With a website I would appeals to as many people as possible, some just want information about the game (this should be the first page) Some like to know about the development, put some information about it on another page. If you have an Artist Statement (relic of art galleries and museums) then put that on a page (possible the same page as the development/about one). Most of all just keep the website simple, and easy to navigate. Avoid dropdown menus, and don't use flash or html5 for the main website (makes it hard to search).

    I haven't had much luck promoting my game. I wish I had taken a proactive approach to it sooner. These are my thoughts from reading articles around the web, and my own experience. I guess the bottom line is don't expect the game to promote itself, or become popular without you driving it.

  • I participated in Ludum Dare 23 using Construct Classic (for the fourth time) My entry is called Through the Blue Sea, a small platformer game.

    Ludum Dare entry page, with downloads (Game, and/or Source)

    Subscribe to Construct videos now

    The source code include the php and mysql high score board I made.

    Screenshots:

    <img src="http://allaroundgames.net/LD/23/throughthebluesea1.png" border="0">

    <img src="http://allaroundgames.net/LD/23/throughthebluesea2.png" border="0">

  • Untitled is a game that I originally created for Ludum Dare #21 since then I have continued it and attempted to change it from being more art than game, into more game.

    Untitled Website

    IndieDB Page

    * Color changing based gameplay, based on the Color Wheel

    * Abilities are warm colors

    * Traits are cool colors.

    * Online Leaderboard

    Screenshots:

    <img src="http://untitled.allaroundgames.net/data/img/untitled1.png" border="0">

    <img src="http://untitled.allaroundgames.net/data/img/untitled2.png" border="0">

    <img src="http://untitled.allaroundgames.net/data/img/untitled3.png" border="0">

    <img src="http://untitled.allaroundgames.net/data/img/untitled4.png" border="0">

    Download:

    Beta 4 on Untitled website

    Beta 4 on IndieDB

  • I made a new cap that just shows the problem.

    allaroundgames.net/crap/listboxbug.cap

    I also tried to make it move with another object, using the always action. But when returning from the second layout it would still be in the starting position.

    To solve it for now I moved the listbox outside of the layout for its starting position. I had wanted to keep everything the same for the edit boxes and listbox but it ends up making no difference.

  • I have been working on a new menu screen for a small game I've been working on.

    At first it all appeared to be working, but after I played a game (on a different layout) then came back to the main menu layout the Listbox was not moved correctly.

    <img src="http://sandcrawler.net/aag/crap/listbox.png" border="0" />

    This shows what the menu looks like when you first run all, on the left side. On the right side is the listbox that is shown after returning from the other layout.

    The menu itself is working correctly, you can toggle the different submenu spaces open and closed, and it hides correctly. It seems like the ListBox isn't being moved when the layout starts after changing. Here is the events for Start of layout:

    <img src="http://sandcrawler.net/aag/crap/menustuff.png" border="0" />

    The text boxes, and List box are being moved off of the screen when the layout starts, and the rest of the layer is hidden. But when you change back to the main menu layout the List Box is not being moved off screen (but all of the edit boxes are)

    The open options menu:

    <img src="http://sandcrawler.net/aag/crap/options.png" border="0" />