RPG Maker Forums

Hello I am having some difficulty with my project.


I'll be honest I don't know how to ask this without getting common game making terms confused, but I'll do my best. 


How I know how to say it: I desire to create dynamic events by simply finding whatever function is in charge of the draw cycle as well as the update cycle, and pushing them into their scope. 
I want to do this so my clients are able to render new sprites based on the data that they fetched from the server. Thus allowing them to see another instance of players on their screen.
The only thing I require is either of the following
a ) drawing sprites via scripted events with their X Y coords,
b ) Make a single event, and simply copy and push it into the array so when the next render // draw cycle commences it will include the secondary player's sprites.


c ) Follow step b, exclude the single event, that would be a carbon copy, and code it all from scratch via scripts. 


I already have the code to store their location, as well as READ from the database, so that's not the issue. What I don't know is how to render the desired sprite, or even change a sprite's X Y via code. 


yes I have already read the script list. I have even started going through sceanManager's 129 different properties, as well as each of those 129 properties down to 5 levels. :/ and yet they still go deeper. 


---------------------------------------------------------------


How do you draw a sprite from the sprite sheet at the desired X and Y Coord, via code?


I know about that I need a bitmap, as well as the Sprite, and that it must be pushed up to the _scean however I don't understand how to change the information from there. :/


If you have questions about my question on how to be clearer please ask. I'll try my best to clarify further.


Further for those whom are interested in seeing sceanManager's stuff and how far down the rabbit hole it goes. To use this. 
 

var string = "";


var count = 0; var count2 = 0; var count3 = 0; var count4 = 0; var count5 = 0;


for (var add in SceneManager._scene) {count ++; string += String(count) +":&nbsp;" + add + "<br>"; for (var add2 in SceneManager._scene[add])


{count2 ++; string += "&nbsp;&nbsp;" + String(count2) +": " + add2 + "<br>"; for (var add3 in SceneManager._scene[add][add2]){count3 ++;


string += "&nbsp;&nbsp;&nbsp;&nbsp;" + String(count3) +": " + add3 + "<br>"; for (var add4 in SceneManager._scene[add][add2][add3]){


count4 ++; string += "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;" + String(count4) +": " + add4 + "<br>";


for (var add5 in SceneManager._scene[add][add2][add3][add4]){count5 ++; string += "&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;" + String(count5) +": " + add5 + "<br>";


} count5 = 0;} count4 = 0;} count3 = 0;}count2 = 0;}


document.getElementById('iframe_id').contentWindow.document.body.innerHTML = string;


You will need an iframe added to your index. 

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,454
Members
137,821
Latest member
Capterson
Top