marlon667's Recent Forum Activity

  • I'm trying to upload the tutorial, but for some reasin I keep getting a Server URI Error. I've asked about it, but no chanbe at the minute :/

  • Kyatric Nope, still wont post for me. Tried it in several places aswell, just tried again, still the Server URI Format error...

  • Forgot to mention, this would include Sprites, 9-Patches and other game objects.

  • If you do use WebSockets, you will need to write a Server from scratch to handle the database logic.

    If you're good with C#, I recommend using the Fleck server as your base (Google it!). C# is good because you can easily connect to MySQL through it.

    If you prefer JavaScript, you can use Node.JS with the WebSocket and MySQL plugins installed.

    It would be easier to look at that PHP chat program and adapt it to your own needs, but WebSocketing is more fun in my opinion :P whichever's best for you :)

    By the way, you said you wanted to use this to make transactions? Have you considered Clay.IO? They allow you to integrate In-App Purchases through their own desktop platform. They've even written their own C2 Plugin for us! They also provide an Advertisement API for more ways to earn money. You should check it out: go to clay.io and go to the developer section to find out more.

  • Is there any way I could use the same assets that Construct 2 makes and share them between my other projects? Basically, I'm going to have a website with a C2 widget embedded into the side bar, and then an actual game client that uses the same animations/images/sounds. Is there any way for me to share between projects?

    Oh, and i was also wondering if you could share the C2 assets with an actual website, and how you would process them so they come out like they would in a C2 game :)

  • I'm pretty obsessed with WebSockets right now, and the way I would personally do that would be using Websockets to connect to an external server and have that communicate with a database.

    However, a much simpler way would be to use PHP code. You will have to write it from scratch, but PHP does give you some methods to help connecting to the database. It's how PHPMyAdmin works (hence PHP).

    There is an example in the tutorial section on how to make a chat application with a MySQL database, you can easily adapt that to your own needs. All it takes is a little knowledge of Structured Query Language Statements, like "SELECT * FROM table WHERE ID=1" (Select all the users from this table that have 1 as their ID number).

    Oh, and by the way, PHPMyAdmin is not actually a database. MySQL is the database that PMA connects to. So PMA is just a database client. Also, for aproject like this, I would use MySQL instead of something like Microsoft SQL Server. MySQL is much easier to use.

    Hope this helps :) Let me know if you need any other advice/help :P

  • Simple enough :) thanks.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have an X.509 certificate with which i have encrypted my WebSocket Server. Do I need to do anything special in Construct 2 to allow my sent string to be decoded? Or do I just have to use "wss://" instead of "ws://"?

  • Hey, I'm looking for some opinions on the best way to develop a dynamic website?

    I was thinking about this while doing some simple projects with Construct 2, thinking that maybe I could create a dynamic website for a game with it. It may be a little crazy, but I have this weird, irrational hatred for PHP, and was thinking I could use WebSockets to communicate with a server and update things in "real-time"

    Basically, I want people to be able to log into the website, and stay logged in like a regular site. This site would be a portal to my game, which would open in a separate window providing the user is logged in and have clicked on the "play" button.

    Does anyone know of any tools that are as powerful and as simple to use as Construct 2, but for websites. Even better, would it be possible to build a website with C2?

    Just something that's been playing on mu mind :P

  • Does tutorial posting work for anyone else?

  • Aphrodite Thank you so much :) I though I looked everywhere, but I obviously didn't look hard enough :P Thank you!

  • Hey guys, I need to find out if you can do this:

    Basically, I want my layout AND my window size set in Construct 2 to fit the window size of the browser. I also want objects in the layout to scale relative to their position in the editor.

    Basically, I am trying to create a game interface where there are buttons on the side like a toolbar. I want this "HUD" layer in my layout to resize to fit the browse window, along with the Window Size property of the project. I want it to work in a similar way to Spotify Web Player or Google's Gmail interface.

    Is this possible to do? And could someone give me a pointer as to how to do it?

    P.S: I think I saw this somewhere before, but i just want to clarify: Can you remove the grey border around the project?

marlon667's avatar

marlon667

Member since 2 Jan, 2013

None one is following marlon667 yet!

Connect with marlon667

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies