Metagame Reboot - YOUR PARTICIPATION IS REQUIRED!
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
I rewrote some of the movement code to make it more physical (using acceleration instead of velocity for jumps, etc.), turned some explicit values into constants (like jump duration) and simplified some stuff. As a result of this the feel is different, I didn't tweak it to be the same as before but I figure that's OK because we haven't fully decided on stuff like jumpheight yet anyway. I made my modifications before you uploaded your latest source so I seem to have lost the bounce-off walls thing. I could go back and add it, but what's it for?
Also I added rudimentary crouching.
edit: the flixel collision code is not particularly good, with the static crouching sprite you can notice quite a lot of intersections that should be resolved before rendering. Maybe I'll do a little work on that.
- Attachments
-
- metagame.zip
- version 0.0.3 - only the changed files
- (103 KiB) Downloaded 177 times
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
I'll set up github either today at school if I have time or after school, got to run.
On variables, yeah I should probably drop the underscoring on publics, but a lot of the vars/consts don't even need to be public anyway. Sort that out soon, jump on irc when you can

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
- Moderator
- Posts: 67
- Joined: 2008.09.26 (06:45)
- NUMA Profile: http://nmaps.net/user/Orange
- MBTI Type: ENTP
- Location: let's go down the waterfall
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
http://github.com/Geti/Metagame
http://github.com/Geti/Metagame
http://github.com/Geti/Metagame
Righto, lets get merged etc. It's got my source from last night, not your latest one, sadly, so, uh, get on that :P
http://www.adobe.com/devnet/actionscrip ... _tips.htmlOrange wrote:I honestly wish I could understand what you guys are talking about.
http://www.adobe.com/devnet/actionscript/ (especially http://tv.adobe.com/show/actionscript-1 ... ug-winnie/)
and then for flixel
http://flashgamedojo.com/wiki/index.php ... ory:Flixel
good luck :)
edit: I'm thinking it could be a good idea to migrate the current com.game.Metagame package to something more along the lines of Metagame, for directory simplification. It's just an artefact left over from using one of adamatomic's bases anyway.

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
What I'm planning on working towards:
- examine flixel integration and collision functions and maybe make improvements
- finishing crouching
- experimenting with movement techniques
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
Done!mattk210 wrote:OK i signed up to Github under the name mattk210. Do you need to invite me to the project or something?
Also, you might want to have a look at FlxObject's Patchily added "HitSide()". It could be what's causing the odd collisions on the left side of the player <_<

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
I'll do the pull now in any case, worst comes to worst pastebin it and I'll make the commit O_o
edit: just built it, and I'm assuming a lot of those changes that "didn't work" are pretty necessary, as the player does all sorts of bizarre things now, and floats about with the elegance of a wet sock on a stick :P

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
I don't know why it would be doing "bizzare things" though, it should just be more sluggish and the sprite would disappear when you crouch.
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
Code: Select all
git pull

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
Make sure you have the repo set up like so (make sure you cd to the metagame root directory)
Code: Select all
git remote add origin [email protected]:Geti/Metagame.git
Code: Select all
git pull origin master
Code: Select all
git add ./
git commit -m 'comment here'
Hope that helps :)
EDIT: oh yeah, you should also have your user set up, in case you haven't here's how:
Code: Select all
git config --global github.user <username>
git config --global github.token <go get your token from account settings and put it here>
Code: Select all
git config --global user.name "your name here"

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
- Antonio Banderas
- Posts: 1703
- Joined: 2008.09.26 (13:56)
- NUMA Profile: http://nmaps.net/user/donfuy
- MBTI Type: ISTP
- Location: port

-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
I get fatal: remote origin already exists.Geti wrote:If you're not getting ssh issues I'll skip that part.
Make sure you have the repo set up like so (make sure you cd to the metagame root directory)Code: Select all
git remote add origin [email protected]:Geti/Metagame.git
It seems like it's all set up. I can commit etc and git seems to think it's all working (if I "reset --hard" it goes back to my last commit as if it worked), but it's not syncing with github. I'm probably missing something really fundamental.
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
http://smalltalk.gnu.org/tags/git could help with basic usage.
edit: oh yeah, cheers donfuy :D

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
edit: OK i pushed a new version. I think I finally understand Git! Thanks Geti! Haven't changed much though. I didn't update metagame.zip at all. If I'm doing something wrong, tell me because I've never done anything like this before.
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
The problem with the graphics being like they are in the first one is that it'd make editing a map nigh on impossible to do in-game. It'll more likely be something along the lines of the second one, with simple lines around the exposed edges on the tiles.
I'm currently thinking 5 layers of drawing would be good, FGDecor, GameObjects, Tiles, BGDecor, BGTiles. BGTiles would be a set 12 or so tiles for each zone type that could be edited separately from the collision tiles, which would allow more organic shapes to be produced (there would be at least 45 degree slopes in each set) and would make the levels more interesting. Decor is something I'll add in later, but it's basically hand drawn inert "mood" assets, like trees and rocks and extra tile texture that could be moved around grid-independent to decorate the levels. just some thoughts.

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
I discovered that the reason collision was funky was because it was getting called before integration in playstate.as. It needs to get called after so it can correct any overlap integration has caused. I moved the whole "super.update()" before collision but I now realize that maybe the rendering stuff in there really does need to get called last. I'll look into it tonight.
(by the way is there a way I can amend my commit on git rather than making a new one for such a small thing? I tried commit --amend but it didn't seem to do anything.)
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
- Depressing
- Posts: 1989
- Joined: 2008.09.28 (01:10)
- NUMA Profile: http://nmaps.net/user/UniverseZero
- Steam: www.steamcommunity.com/id/universezero/
- MBTI Type: ENTJ
- Location: The City of Sails, The Land of the Long White Cloud
- Contact:
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
As for a name uhh how about "trashcan trooper"?
- Average Time to Take Breakfast in Equador
- Posts: 640
- Joined: 2008.09.27 (03:11)
- NUMA Profile: http://nmaps.net/user/geti
- MBTI Type: ENFJ
- Contact:
Using the wiki feature would be awesome.
I didn't commit all the changes I made tonight because there's a huge bug that's preventing it from coming together while not throwing any errors <_< knowing me it's likely just a missing ;, but I'll hold onto it until I've got it figured out.
In any case, I noticed a bug with the flixel console, it reads 0fps and gives incorrect timing on the stages of logic, perhaps look into that? :P

"I'd be happy for a lion if it hunted me down and ate me, but not so happy for it if it locked up me and my family, then forced us to breed so it may devour our offspring." - entwilight <3
How do you know that God didn't intend for humans to be the animals' caretakers? He might be appalled that He gave us these animals to use and we're fucking eating them. - Tsukatu
4th - DDA Speedrunning Contest.
One Hundred Percent Vegetarian
-
- Ice Cold
- Posts: 202
- Joined: 2008.09.26 (11:49)
- Location: Australia
- Contact:
- Depressing
- Posts: 1989
- Joined: 2008.09.28 (01:10)
- NUMA Profile: http://nmaps.net/user/UniverseZero
- Steam: www.steamcommunity.com/id/universezero/
- MBTI Type: ENTJ
- Location: The City of Sails, The Land of the Long White Cloud
- Contact:
- Moderator
- Posts: 67
- Joined: 2008.09.26 (06:45)
- NUMA Profile: http://nmaps.net/user/Orange
- MBTI Type: ENTP
- Location: let's go down the waterfall
Who is online
Users browsing this forum: No registered users and 21 guests