0

objects

I really want to start making games, but i dont know how to create objects and what coding language to use, how to make size, texture, and optionally how to make move Edit: I figured it out: 1. Use div objects and access them with a variable (document.getelementbyid(I’d)), and then do: variable.cssyouwannachange=whatitshouldbe 2. Access a canvas using the Id variable method, then do: var myvariablecanvasvariable.getContext(“2d”) Then do ctx.moveto(x, y) or ctx.fillrect(x, y, w, h)

25th Sep 2017, 8:07 PM
Golem
3 Respostas
+ 2
what do u mean by creating objects?
25th Sep 2017, 8:25 PM
D_Stark
D_Stark - avatar
0
I mean that I want to make objects and make its size and color and texture and everything
26th Sep 2017, 6:10 PM
Golem
0
well I wonder the same... just Google it! (actually I should do that) edit: or you can use a canvas! a canvas can render pictures and you can change it's position easily you can look at an online course to acomplish that!
9th Jan 2018, 8:31 PM
A-FnafGamer
A-FnafGamer - avatar