New issue
 Projects > js > Issues > Bug #5653

GUIReader does not show buttons images in develop vs master branch (with sample code)

Bug #5653 [New]
rastermax 2014-07-03 20:38 . Updated about 5 years ago

Hi,
(first bug I summit so ...)

Recently being doing sample code to undestand better CocoStudio.

Syncing with latest Develop branch of cocos2dHtml5 I noticed that bitmaps (in buttons for example) don't show anymore.

Here is a complete simple projects that works in master and not anymore in develop so that you can see the problem.

you can swith the engine path in the project.json file.

(it is full html5 / js / WebStorm project).

Thanks for the great work.

Nicolas

HelloCocoStudio_NICO.rar (909.3 kB) rastermax, 2014-07-03 20:38

expected_ui.jpg (110 kB) rastermax, 2014-07-03 20:38

non_expected_ui.jpg (95.7 kB) rastermax, 2014-07-03 20:38

HelloCocoStudio_NICO.rar (908 kB) rastermax, 2014-07-07 14:31

HelloCocoStudio_NICO.rar (923.4 kB) rastermax, 2014-07-09 00:19

expected_ui.jpg - expected result (110 kB) rastermax, 2014-07-09 00:19

non_expected_ui (1).jpg - actual result with cocos develop vs master (95.7 kB) rastermax, 2014-07-09 00:19

ludingping 2014-07-04 02:13

Thanks for your noticing.

We'll test your test. I'll send some message to you if I have some question.

Bests
David

rastermax 2014-07-07 14:31

Updated source (still same problem)

Fix: .html was not loading CCBoot.js from correct develop folder. So I thought that I miss matched CCBoot.js from master with develop folder but it does not change the problem.

Nicolas

rastermax 2014-07-08 14:52

Hi,
you can close this as looks like it was an branch mismatch with my git client.
(GitHub windows branch switching is acting weird).

Thanks
Nicolas

rastermax 2014-07-09 00:19

ok even after getting the right cocos version (latest develop). The issue is still here.

My UI files where done with CocoStudio 1.5

Here is attached the latest version of the source example (cocos html5 project webstorm):

To see the different results in your browser
Just change the paths to cocos-develop / cocos-master frameworks in:

in index.html
<script src="../frameworks/cocos2d_3_develop_full/CCBoot.js"></script>
in project.json
"engineDir":"../frameworks/cocos2d_3_develop_full/"

Hope it helps.

Nicolas

Atom PDF

Status:New
Start date:2014-07-03
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-