Whiteclaws's Recent Forum Activity

  • You won't learn if you avoid complicated stuff because you are a noob ?

    "

    You can't beat a hard game if you don't even start it up , unless you are a powerful wizard and in that case I want to be your pupil "

    • Whiteclaws 2013 , use it and I'll sue you

    Do you want Dynamic shadows , if so , you'll need to deal with math ...

    Otherwise , have a look at the many tutorials in the tutorials section !

  • This game is a joke for C2 WebGL accelerated-rendering beast rendering methods ... you guys underestimate C2 <img src="smileys/smiley2.gif" border="0" align="middle" />

  • Could you have a look at the post I made on your "URGENT HELP PLZ" post ?

    I think it explains this , but basically , you need to set up your server and client-side to be able to send AND receive messages

    In C2 , checking for received messages is as easy as ;

    Websocket - On Message Received

    and sending is that easy too ;

    Websocket - Send text

    NOTE : You'll need to be connected to the server for this to work

    You'll need to code the server to be able to receive and send messages

    function onMessage ( uid , msg ) -- Called when a user sends a message

    -- uid(string): userid of user messaging server

    -- msg(string): message received

    sendTo ( uid, msg ) -- Send a message to a user by their uid

    -- uid(string): userid of who will receive msg

    -- msg(string): message to be sent

    Scribble Documentation (Clicky Clicky)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I think it's the memory allocated to save sound and images ... before passing the files to the GPU , you need to allocate an array and put it all in it , then you send the data to the GPU to get it drawn , I don't know if images are stored on the GPU or on the CPU , but I'm sure sounds are stored on the CPU

  • Sorry , we don't know what happened ... you were there when it happened , care to give us more info ?

  • Well , I'm with the others on using dictionnaries , I guess allocation 100x100x100 floats and not using them all would be a waste

    megatronx , If every index would take 1 millisecond to load , that would be 100� milliseconds , around ... 10000 seconds ? I'm probably totally off , but that's ok , because you get the point xD

    Basically , you could add a string key to the dictionnary as "level|glyph1{0,1,1}|glyph2{0,1,1}|glyph3{0,1,1}" and compare the key with the level to load , then get the desired glyph using tokenat(src, index, separator)... basically , store all the info in one big string

  • Setup a server using node.js (coding it) , and then connect C2 to that server and send messages between the two ...

    I will quote this excellent post from mars , he helped me shed light on my ignorance xD

    Let me help you understand and setup a basic home server

    running node.js.

    FYI: I would recommend that you DON'T do this on your primary home computer - try setting this on on a old computer if you have one. You don't want to mess up your primary computer.

    Or you could eventually set one up as a virtual machine using VMWare Workstation but that's a whole other topic.

    Anyways: Follow these steps and you should understand what Node.js is and how to setup a simple home web server. Please watch these in order and entirety.

    1. What Node.js is:

    http://www.youtube.com/watch?v=jo_B4LTHi3I

    2. How to install Apache Web Server on Windows:

    http://www.youtube.com/watch?v=8tBkEWPOqqk

    **If you have a domain name then you can use it instead of localhost and simple go to your domain registrar and create an A Record that points to your home computers IP address:

    http://whatismyipaddress.com *If its static and your internet provider allows it.

    Download Apache Latest Stable Version:

    http://httpd.apache.org/download.cgi

    3. How to install node.js on Windows with Apache already installed - and setup a simple chat application

    http://www.youtube.com/watch?v=hrdSN9ezDl0

    Download and install the latest node.js for windows:

    http://code.google.com/p/nodejs-win

    This isn't the easiest thing in the world to do - if you get stuck - remember to Google or YouTube it first - there is a lot of good information out there.

    *Updated Broken Links

    Finally , here's a home-made tutorial from one of the members

    Tutorial

    Basically , if you want a server , you'll have to code it using javascript , and run it from a computer , it can be a vps (a private server , google it) , and you need to connect C2 to that server , and then , you can exchange messages between the server and the client , that's multiplayer in a nutshell ...

    If you don't want to learn javascript , you'll have to wait for project bubble , that let's you code a server FROM C2

  • The Y-Vector is the speed of the x-axis A.K.A horizontal velocity

    the X-Vector is the speed of the y-axis A.K.A vertical velocity

    <img src="http://www.nrcan.gc.ca/sites/www.nrcan.gc.ca.earth-sciences/files/images/edu/geod/images/2d.gif" border="0" />

  • I say Meh ...

    Had a look at it , More like CC , even so , I would personally prefer CC ,

    But I would strongly advise you to ...

    Learn a Programming Language & Join the Dark side !

  • It happens when the tiles are not the same size , you'll need to cut them manually in your favorite image editor

  • I would prefer the dictionnary on an array , as a dictionnary has no fixed size , so you can add a key without affecting your code much , but otherwise , I don't see any other difference between the two , Imagine the array as a table of a fixed size , and the dictionnary as an infinite list

  • Hey there dude , long time no see , any progress on this ?

Whiteclaws's avatar

Whiteclaws

Member since 14 Feb, 2011

None one is following Whiteclaws yet!

Trophy Case

  • 13-Year Club
  • x4
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

15/44
How to earn trophies