Not logged in
Gosu Forums
Forum
back to libgosu.org
Help
Search
Register
Login
Forum
Search
Words
User
Board
All boards
Gosu
- Gosu News
- Gosu Exchange
- Gosu Showcase
- Extending Gosu
- Gosu on iPad, iPhone & iPod Touch
Field
Text
Subject
Min. Age
Max. Age
Order
Newest first
Oldest first
Search
Topic
NameError
By
Idiot
Date
2017-12-30 17:36
So I found out what the problem was, that player class needed to be stated before my game class.
Sorry.
Topic
NameError
By
Idiot
Date
2017-12-22 22:31
I got the same error.
I decided to look in the compact.rb file where there's supposed to be an error at line 84 but I can't tell if there's something wrong.
What does yours look like?
Attachment:
compat.rb
(6k)
Attachment:
ahaheuahe.PNG
(16k)
Topic
NameError
By
Idiot
Date
2017-12-17 18:50
Yes, my assets folder is next to the game and player ruby files.
I'm running my game through cmd
> cd desktop
> cd folder
>cd ruby game.rb
I ran an open sourced gosu game from github a few days ago and it worked fine?
Topic
NameError
By
Idiot
Date
2017-12-17 05:51
I should have realized that, sorry.
But now I get a different error?
I went to the player file and did require gosu to see if that would change anything, it didn't.
How come I can't figure this out?
Attachment:
gosuplease.PNG
(10k)
Attachment:
game.rb
(880B)
Attachment:
player.rb
(616B)
Topic
NameError
By
Idiot
Date
2017-12-15 11:12
Yeah, thanks!
Attachment:
game.rb
(850B)
Attachment:
player.rb
(600B)
Topic
NameError
By
Idiot
Date
2017-12-15 06:16
I got the background image working when I got to the player part of the tutorial I got this error
I can't figure out why
Attachment:
error.PNG
(3k)
Powered by
mwForum
2.29.7 © 1999-2015 Markus Wichitill