Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Unwanted/Stealth Game
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default Unwanted/Stealth Game - 10-12-2011, 04:12 PM

I'm working on this new stealth game but when I start the game. It starts dropping frames like a beast.
I don't see why it doing that, it's only just over 7mb and only has over 300 cubes and some other stuff. It wasn't doing that before ?

It will probbaly not make much sense to any of you, so this is just for the Best(ish) Alice users.

arrow keys move
S crouchs
W attacks (only when behind guard and close enough)
1 2 3 4 changes veiw
Attached Files
File Type: a2w Unwanted v0.7.a2w (7.20 MB, 17 views)


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-12-2011, 05:22 PM

Whoosh.

Well to start, you should be condensing the cubes in a row into one long prism by resizing one cube along one dimension.

Also, I notice all of your wall collision loops test every wall at the same time. You can save memory by only making the group of walls closest to the character active (Dameria made a very nice example using quadrants where only 1/4th of all the walls in the room were solid at a time).
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 10-12-2011, 07:16 PM

Won't it not be able to bounc back if you go to far end?


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-12-2011, 09:19 PM

Not if you make the collision code recognize the character's distance in front of the prism, rather than its distance to the prism.
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 10-13-2011, 02:47 PM

I'll check it out.


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 10-13-2011, 03:34 PM

It was weird, some times it would work, and some times it moved me so far away it took 15 second to get back to the cube. It's the same collision

if distance in front of is < than 0.8
move 0.85 meters away in 0.04 seconds.


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 10-17-2011, 05:15 PM

bumpity bump bump

same question


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
InsertName
Senior Member
 
InsertName's Avatar
 
Status: Offline
Posts: 341
Join Date: Jun 2011
Location: In a house
Default 10-18-2011, 02:51 PM

this game is not working for me. so it may be uncomplete for awhile.


__№_₤⅞__
Handguns: http://www.alice.org/community/showthread.php?p=45349
MINECRAFT IN ALICE: http://alice.org/community/showthread.php?p=48208
My Stupid Animations: http://alice.org/community/album.php?albumid=119
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 10-18-2011, 03:59 PM

Aww.


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
x2495iiii
Super Moderator
 
x2495iiii's Avatar
 
Status: Offline
Posts: 3,508
Join Date: Dec 2008
Location: Somewhere in the Continental U.S.
Default 10-18-2011, 04:13 PM

It might not work if the cubes aren't all facing towards the inside of the enclosure. Turn and resize them accordingly, then see if it works.

Also, sorry for not responding.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.