Hello,
so I'd like to learn more in RMMV by creating arcade snake, that would be just events following each the previous one and with possibility to create another. I'm able to use javascript tho I haven't found any great tutorial or documentation on how the events can be created - easiest way I found would be just to create map where player would never get to and create bunch of events there - it's possible but to be honest, I'm at least interested if it would be possible to make it a little more automatic.
I'm pretty sure that this engine is really not made for such game, tho it's game that should be possible to make in any game engine. (after all, it was even made in excel using vb macros)
What I would like is maybe some great guide for more expert use of scripting, maybe creating pluggins.
Thanks in advance just for reading this.
Edit:
I have here some stuff I discovered... not sure if I'm on right way, wrong, or just doing it in bad way...
only problem is, that the event is not visible or doesn't do anything visual (image nor audio), except that it works
so I'd like to learn more in RMMV by creating arcade snake, that would be just events following each the previous one and with possibility to create another. I'm able to use javascript tho I haven't found any great tutorial or documentation on how the events can be created - easiest way I found would be just to create map where player would never get to and create bunch of events there - it's possible but to be honest, I'm at least interested if it would be possible to make it a little more automatic.
I'm pretty sure that this engine is really not made for such game, tho it's game that should be possible to make in any game engine. (after all, it was even made in excel using vb macros)
What I would like is maybe some great guide for more expert use of scripting, maybe creating pluggins.
Thanks in advance just for reading this.
Edit:
I have here some stuff I discovered... not sure if I'm on right way, wrong, or just doing it in bad way...
let event = {id: 2, name: "SnakeHead", note: "", pages: [], x: 1, y: 1};
event.meta = {__proto__: event.__proto__};
let id = $dataMap.events.push(event) - 1;
$dataMap.events[id].pages = [{
conditions: {
actorId: 1, actorValid: false, itemId: 1, itemValid: false, selfSwitchCh: "A",
selfSwitchValid: false, switchId: 1, switchValid: false, switch2Id: 1,
switch2Valid: false, variableId: 1, variableValid: false, variableValue: 0,
},
directionFix: false,
image: {
characterIndex: 1, characterName: "Monster", direction: 2, pattern: 1, titleId: 0
},
list: [{
code: 355, indent: 0, parameters: ["console.log('Hello world!')"]
},{
code: 0, indent: 0, parameters: []
}],
moveFrequency: 3,
moveRoute: {list:[{code: 0, parameters: []}], repeat: true, skippable: false, wait: false},
moveSpeed: 3,
moveType: 0,
priorityType: 1,
stepAnime: false,
through: false,
trigger: 1,
walkAnime: true
}];
$gameMap._events[id] = new Game_Event($gameMap._mapId, id);
only problem is, that the event is not visible or doesn't do anything visual (image nor audio), except that it works