Sure as long as you dont copy the code completely (I mean like next week I dont want to see a pokecube pe mod with my code )
Anyway need to create a custom item then it should be ready!
Hey hex I'm gonna send u link tommorow on pixel on its a video
Also still can fig out how to save vars and thought about almost every way possiblepossible
Rollback Post to RevisionRollBack
Remember this is round 27, think off call or duty logic, our pistol are as useless as broken condoms.
for some odd reason... the pokecube v2 is saving some variables by itself.
Anyway took out battling - uploading in a bit (leveling is still in the game, just beat the *** out of a pokemon and you;'' level ).
Alright I pretty much know what I have to do to finish up my mod thanks Noahz and hexdro
You guys were a big help I'll credits you once I release it.Noah I just tried it again and it won't save this is the code itself
var cash=0
function newLevel()
{
ModPE.readData("savedData");
}
Alright im pretty much ready for release :L
Had to take out battling :/ which sucks
but crafting works fine, levels save as well
so features for v2:
Leveling
Crafting
New Mobs (Some have Aggressive AI!)
Bug Fixes
New Items
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
Anyway need to create a custom item then it should be ready!
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
Also still can fig out how to save vars and thought about almost every way possiblepossible
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
also....
pokecube v1.1 has over 20k downloads.
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
function useItem(x,y,z,itemId,blockId,side)
{
if(getCarriedItem()==280)
{
cash=cash+1
}
if(getCarriedItem()==0)
{
ModPE.saveData("savedData", cash);
}
if(getCarriedItem()==268)
{
ModPE.readData("savedData")
}
if(blockId==1)
{
clientMessage("wtf"+cash+"")
}
}
Is this how I would use it?
Anyway took out battling - uploading in a bit (leveling is still in the game, just beat the *** out of a pokemon and you;'' level ).
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
You guys were a big help I'll credits you once I release it.Noah I just tried it again and it won't save this is the code itself
var cash=0
function newLevel()
{
ModPE.readData("savedData");
}
function useItem(x,y,z,itemId,blockId,side)
{
if(getCarriedItem()==280)
{
cash=cash+1
}
if(blockId==1)
{
clientMessage("wtf"+cash+"")
}
}
function leaveGame()
{
ModPE.saveData("savedData",cash);
}
Had to take out battling :/ which sucks
but crafting works fine, levels save as well
so features for v2:
Leveling
Crafting
New Mobs (Some have Aggressive AI!)
Bug Fixes
New Items
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
so...
item1 + crafting table -> item2
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246