Skip to content

My "Top-Down Action RPG Template" is now available in the Asset Library

Not downloaded yet

You can get it here: https://godotengine.org/asset-library/asset/487

This was created in a few weeks as educational mateiral for my students so everything is implemented in a pretty simple way, but I thought it could still be useful as a starting point.

Edit: forgot to mention there's a live demo at http://crimsonghostgames.com/elcaballerohueco/

https://reddit.com/link/evsyd8/video/62xa4fwr4sd41/player

Edited 29 Jan 2020. We only hold this version.

65 points17 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
65 · 100% up
Kind
Video
ID
evsyd8

Author

31
posts
193
comments
22
media
View profile

17 comments

Is this supposed to be playable in it's current state?

I may be missing something, but the game is unplayable for me - it starts fine, passes the "studio logo" screen fine and then when I press "new game" or "continue", it goes back to the editor and highlights line 49 in stats.gd (italicized and presented inside it's function):

func _notification(what):

*if what == NOTIFICATION\_WM\_QUIT\_REQUEST:*

	quit\_game()

With the error

E 0:00:36:0407 Condition ' _debug_parse_err_line >= 0 ' is true. returned: __null <C Source> modules/gdscript/gdscript_editor.cpp:330 @ debug_get_stack_level_instance() <Stack Trace> Menu.gd:28 @ _on_new_game_pressed()

Let me know if I'm missing something.

I'm on "Godot Engine v3.1.2.stable.official" and all I did was download, unzip, import, edit, and select "play project"

EDIT: I hate reddit formating, please forgive the butchery of the code that it made.

2 points

I also can't play it past the logo scene. When starting a "New Game" I immediately get this error:

Error in Enemy.gd

error(3,1): Unique global class "Enemy" already exists at path "res://scenes/characters/enemy.gd"

Using 3.2.stable

1 points

What OS are you running? I'm gonna check on linux if there is some issue with case sensitive filesystems

1 points

Hmm it's meant to be used with Godot 3.2. I don't know if it's compatible with older versions, probably not.

Also, since you already opened it, make sure you reset any files that might've been modified by the old editor. Or just download it again if you're not using version control.

Edit: Yes the problem is that that notification is not inherited by nodes in 3.1. Just change "NOTIFICATION_WM_QUIT_REQUEST" into "MainLoop.NOTIFICATION_WM_QUIT_REQUEST" and it should work.

1 points

Getting a little farther - now I'm getting:

"parser error: identifier 'Mainloop' is not declared in the current scope."

while highlighting the same line in stats.gd

And I need to get to bed, so if you've got specific declarations to add that's great - otherwise I'll tinker with it tomorrow.

1 points

I'm learning the engine. At first look thecode you've written will help me a lot.

Thanks!

2 points

Doesnt work. Creates project but come up missing.

1 points

Yeah sorry about that. It's because the root folder is not the one containing the project.godot file. You'll find it inside the src folder.

I'm used to working that way so that stuff unrelated to the godot project (docs, builds, raw assets, etc) stays outside the project folder but the asset library can't handle that

You can still open the project if you scan the folder where it was downloaded

2 points

Fixed in the version 1.1.0 which is already waiting for approval in the assetlibrary.
I moved all the source to the root directory and used .gdignore files for folders that should be excluded. That's the recommended approach and that the asset library installer expects. Please test as soon as it is online.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.